Skip to content

Conversation

@jkebinger
Copy link
Contributor

Description

Update stderr manipulation code in test helper
running in an IDE causes this code to fail, so instead its safely neutered with this approach.

errors like

Minitest::UnexpectedError: NoMethodError: undefined method `string' for #<IO:<STDERR>>
    test/support/common_helpers.rb:29:in `teardown'
.../common_helpers.rb:29:in `teardown'

I think we could use IO.pipes or something so that everyone can read the stderr together but this is simple

Testing & Validation

Run the tests

running in an IDE causes this code to fail, so instead its safely neutered with this approach.
@jkebinger jkebinger requested review from a team as code owners February 14, 2025 19:07
Copy link
Contributor

@semanticart semanticart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The skip behavior felt a little weird at first, but we have CI to keep us honest 👍

@jkebinger jkebinger merged commit 4224c4e into main Feb 18, 2025
4 checks passed
@jkebinger jkebinger deleted the handle-stderr-issue-in-ide branch February 18, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants